package com.qipay.pay;

import com.qipay.pay.entity.CpPayQQNativeRequest;
import com.qipay.pay.entity.CpPayQQWapPayRequest;
import com.qipay.security.jwt.JWTUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

public interface QQPayService {

    @Transactional
    Map<String, Object> payQQNative(
            CpPayQQNativeRequest entity,
            JWTUser loggedUser) throws Exception;

    @Transactional
    Map<String, Object> payQQWap(
            CpPayQQWapPayRequest entity,
            JWTUser loggedUser) throws Exception;
}
